/**
 * Description: Student.java
 * Copyright (c) 2008-2009  Neo. 
 * All Rights Reserved.
 * @version 1.0  Mar 18, 2009 9:14:08 PM 李萌（neolimeng@gmail.com）created
 */
package org.paradise.dms.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Description: 学生用户信息表 Copyright (c) 2008-2009 Neo. All Rights Reserved.
 * 
 * @version 1.0 Mar 18, 2009 9:14:08 PM 李萌（neolimeng@gmail.com）created
 */
@Entity
@Table(name = "student")
public class Student {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	// 自动增长
	private int studentid;// 用户ID
	private int studentstatusid;// 用户状态ID(表示用户在线报到，为1表示已经激活，默认值-1未激活)
	private int collegeinfoid;// 学院ID
	private int studentpreasignedid;// 学生预分配值字段ID 和 Allocationinfo表对应,也和dormitory表的allocationid字段对应
	private int majorinfoid;// 专业ID
	private String studentno;// 学号
	private String studentname;// 学生姓名
	private String studentgender;// 性别
	private Date studentbirthday;// 生日
	private String studentidentitycardno;// 身份证号
	private String studentbirthplace;// 生源地
	private String studentethnic;// 民族
	private String studentpicturepath;// 学生照片存放地址
	private String studentclass;// 学生所在班级
	private String studenttype;// 学生层次 （本科，专转本，硕士，博士，定向
	private String studentenrolltype;// 招生类别
	private String studenteducationyears;// 学制，比如四年制
	/**
	 * 培养方式（本）/录取类别（硕）2009-05-26 非定向 委培 自筹
	 */
	private String studentadmissiontype;// 录取类别

	private String studentenrollyear;// 入学年份
	private int studentind;// 标记是否删除
	private String studenttelephone;// 电话
	private String studenthomeaddress;// 通信地址
	private String studentarchivesaddress;// 档案所在地
	private String studentnickname;// 学生昵称
	private String studentpassword;// 学生密码
	private String studentemail;// 学生Email地址
	/**
	 * （2009-05-26 lishuangjiang添加，格式如："2007年9月管庄高职专转本"，"保留1年资格"）
	 */
	private String studentmisc;// 备注
	private String studentpolitics;// 政治面貌
	private String studentmiddleschool;// 毕业中学
	private String studentsecondlanguage;// 语种，第二外语

	// 2009-05-26 lishuangjiang 添加字段
	/**
	 * 学生毕业大学 （针对研究生和博士生，已有毕业中学字段，正对本科生
	 */
	private String studentgraduateschool;

	/**
	 * 因材施教 如:专转本(高职)
	 */
	private String studentycsj;
	/**
	 * 毕业时间
	 */
	private Date studentgraduatedate;

	/**
	 * 分流方向 如：在校新生
	 */
	private String studentflfx;

	/**
	 * 导师姓名
	 */
	private String studentadvisorname;
	private String studentdormitorytype ;// 学生对应于房间的属性,如一般学生,关系户,导员房等
	
	//未激活
	public final static int NOACTIVE = -1;
	//已激活
	public final static int ACTIVE = 1;
	//已分配宿舍
	public final static int ALLOCATE = -1;
	
	public String getStudentdormitorytype() {
		return studentdormitorytype;
	}

	public void setStudentdormitorytype(String studentdormitorytype) {
		this.studentdormitorytype = studentdormitorytype;
	}

	public int getStudentid() {
		return studentid;
	}

	public void setStudentid(int studentid) {
		this.studentid = studentid;
	}

	public int getStudentstatusid() {
		return studentstatusid;
	}

	public void setStudentstatusid(int studentstatusid) {
		this.studentstatusid = studentstatusid;
	}

	public int getCollegeinfoid() {
		return collegeinfoid;
	}

	public String getStudentpassword() {
		return studentpassword;
	}

	public void setStudentpassword(String studentpassword) {
		this.studentpassword = studentpassword;
	}

	public void setCollegeinfoid(int collegeinfoid) {
		this.collegeinfoid = collegeinfoid;
	}

	public int getMajorinfoid() {
		return majorinfoid;
	}

	public void setMajorinfoid(int majorinfoid) {
		this.majorinfoid = majorinfoid;
	}

	public String getStudentno() {
		return studentno;
	}

	public void setStudentno(String studentno) {
		this.studentno = studentno;
	}

	public String getStudentname() {
		return studentname;
	}

	public void setStudentname(String studentname) {
		this.studentname = studentname;
	}

	public Date getStudentbirthday() {
		return studentbirthday;
	}

	public void setStudentbirthday(Date studentbirthday) {
		this.studentbirthday = studentbirthday;
	}

	public String getStudentidentitycardno() {
		return studentidentitycardno;
	}

	public void setStudentidentitycardno(String studentidentitycardno) {
		this.studentidentitycardno = studentidentitycardno;
	}

	public String getStudentbirthplace() {
		return studentbirthplace;
	}

	public void setStudentbirthplace(String studentbirthplace) {
		this.studentbirthplace = studentbirthplace;
	}

	public String getStudentethnic() {
		return studentethnic;
	}

	public void setStudentethnic(String studentethnic) {
		this.studentethnic = studentethnic;
	}

	public String getStudenttype() {
		return studenttype;
	}

	public void setStudenttype(String studenttype) {
		this.studenttype = studenttype;
	}

	public String getStudentenrolltype() {
		return studentenrolltype;
	}

	public void setStudentenrolltype(String studentenrolltype) {
		this.studentenrolltype = studentenrolltype;
	}

	public String getStudenteducationyears() {
		return studenteducationyears;
	}

	public void setStudenteducationyears(String studenteducationyears) {
		this.studenteducationyears = studenteducationyears;
	}

	public String getStudentadmissiontype() {
		return studentadmissiontype;
	}

	public void setStudentadmissiontype(String studentadmissiontype) {
		this.studentadmissiontype = studentadmissiontype;
	}

	public String getStudentenrollyear() {
		return studentenrollyear;
	}

	public void setStudentenrollyear(String studentenrollyear) {
		this.studentenrollyear = studentenrollyear;
	}

	public int getStudentind() {
		return studentind;
	}

	public void setStudentind(int studentind) {
		this.studentind = studentind;
	}

	public String getStudenttelephone() {
		return studenttelephone;
	}

	public void setStudenttelephone(String studenttelephone) {
		this.studenttelephone = studenttelephone;
	}

	public String getStudentarchivesaddress() {
		return studentarchivesaddress;
	}

	public void setStudentarchivesaddress(String studentarchivesaddress) {
		this.studentarchivesaddress = studentarchivesaddress;
	}

	public String getStudentnickname() {
		return studentnickname;
	}

	public void setStudentnickname(String studentnickname) {
		this.studentnickname = studentnickname;
	}

//	public String getStudentpassword() {
//		return studentpassword;
//	}
//
//	public void setStudentpassword(String studentpassword) {
//		this.studentpassword = studentpassword;
//	}

	public String getStudentemail() {
		return studentemail;
	}

	public void setStudentemail(String studentemail) {
		this.studentemail = studentemail;
	}

	public String getStudentmisc() {
		return studentmisc;
	}

	public void setStudentmisc(String studentmisc) {
		this.studentmisc = studentmisc;
	}

	/**
	 * @return the studenthomeaddress
	 */
	public String getStudenthomeaddress() {
		return studenthomeaddress;
	}

	/**
	 * @param studenthomeaddress
	 *            the studenthomeaddress to set
	 */
	public void setStudenthomeaddress(String studenthomeaddress) {
		this.studenthomeaddress = studenthomeaddress;
	}

	/**
	 * @return the studentpreasignedid
	 */
	public int getStudentpreasignedid() {
		return studentpreasignedid;
	}

	/**
	 * @param studentpreasignedid
	 *            the studentpreasignedid to set
	 */
	public void setStudentpreasignedid(int studentpreasignedid) {
		this.studentpreasignedid = studentpreasignedid;
	}

	/**
	 * @return the studentgender
	 */
	public String getStudentgender() {
		return studentgender;
	}

	/**
	 * @param studentgender
	 *            the studentgender to set
	 */
	public void setStudentgender(String studentgender) {
		this.studentgender = studentgender;
	}

	public String getStudentpicturepath() {
		return studentpicturepath;
	}

	public void setStudentpicturepath(String studentpicturepath) {
		this.studentpicturepath = studentpicturepath;
	}

	public String getStudentclass() {
		return studentclass;
	}

	public void setStudentclass(String studentclass) {
		this.studentclass = studentclass;
	}

	public String getStudentpolitics() {
		return studentpolitics;
	}

	public void setStudentpolitics(String studentpolitics) {
		this.studentpolitics = studentpolitics;
	}

	public String getStudentmiddleschool() {
		return studentmiddleschool;
	}

	public void setStudentmiddleschool(String studentmiddleschool) {
		this.studentmiddleschool = studentmiddleschool;
	}

	public String getStudentsecondlanguage() {
		return studentsecondlanguage;
	}

	public void setStudentsecondlanguage(String studentsecondlanguage) {
		this.studentsecondlanguage = studentsecondlanguage;
	}

	public String getStudentgraduateschool() {
		return studentgraduateschool;
	}

	public void setStudentgraduateschool(String studentgraduateschool) {
		this.studentgraduateschool = studentgraduateschool;
	}

	public String getStudentycsj() {
		return studentycsj;
	}

	public void setStudentycsj(String studentycsj) {
		this.studentycsj = studentycsj;
	}

	public Date getStudentgraduatedate() {
		return studentgraduatedate;
	}

	public void setStudentgraduatedate(Date studentgraduatedate) {
		this.studentgraduatedate = studentgraduatedate;
	}

	public String getStudentflfx() {
		return studentflfx;
	}

	public void setStudentflfx(String studentflfx) {
		this.studentflfx = studentflfx;
	}

	public String getStudentadvisorname() {
		return studentadvisorname;
	}

	public void setStudentadvisorname(String studentadvisorname) {
		this.studentadvisorname = studentadvisorname;
	}

}
